package com.qen.plugin.notification;

import com.qen.plugin.enums.NotificationPosition;
import com.qen.plugin.enums.NotificationType;

public class NotificationTool {

    public static void message(String content) {
        new Notification(content).showNatification();
    }

    public static void error(String s) {
        new Notification("错误消息", s, NotificationType.ERROR)
                .showNatification();
    }

    public static void success(String s) {
        new Notification("成功消息", s, NotificationType.SUCCESS)
                .showNatification();
    }

    public static void warning(String s) {
        new Notification("警告消息", s, NotificationType.WARNING)
                .showNatification();
    }

    public static void info(String s) {
        new Notification("提示消息", s, NotificationType.INFO)
                .showNatification();
    }
}
